<ul class="tab-nav clearfix">
<li @if(in_array(Request::url() , [route('Admin.Home.newsList'),route('Admin.Home.newsSet')])) class="active" @endif>
    <a href="{{route("Admin.Home.newsList")}}" style="overflow:hidden;"><i class="icon tab-nav-2"></i>
        @if(count($zhClassify) > 0)
            @foreach($zhClassify as $val1)
                @if($val1->type == 'news')
                    {{$val1->name}}
                    @break;
                @endif
            @endforeach
        @else
            最新动态
        @endif
    </a>
</li>
<li @if(in_array(Request::url() , [route('Admin.Home.enNewsList'),route('Admin.Home.enNewsSet')])) class="active" @endif>
        <a href="{{route("Admin.Home.enNewsList")}}" style="overflow:hidden;"><i class="icon tab-nav-2"></i>
            @if(count($enClassify) > 0)
                @foreach($enClassify as $val2)
                    @if($val2->type == 'news')
                        {{$val2->name}}
                        @break;
                    @endif
                @endforeach
            @else
                英文-最新动态
            @endif
        </a>
</li>
<li @if(in_array(Request::url() , [route('Admin.Home.projectCaseList'),route('Admin.Home.projectCaseSet')])) class="active" @endif>
    <a href="{{route("Admin.Home.projectCaseList")}}" style="overflow:hidden;"><i class="icon tab-nav-2"></i>
        @if(count($zhClassify) > 0)
            @foreach($zhClassify as $val3)
                @if($val3->type == 'project_case')
                    {{$val3->name}}
                    @break;
                @endif
            @endforeach
        @else
            项目案例
        @endif
    </a>
</li>
<li @if(in_array(Request::url() , [route('Admin.Home.enProjectCaseList'),route('Admin.Home.enProjectCaseSet')])) class="active" @endif>
    <a href="{{route("Admin.Home.enProjectCaseList")}}" style="overflow:hidden;"><i class="icon tab-nav-2"></i>
        @if(count($enClassify) > 0)
            @foreach($enClassify as $val4)
                @if($val4->type == 'project_case')
                    {{$val4->name}}
                    @break;
                @endif
            @endforeach
        @else
            英文-项目案例
        @endif
    </a>
</li>
<li @if(in_array(Request::url() , [route('Admin.Home.environmentalList'),route('Admin.Home.environmentalSet'),route("Admin.Home.environmentalClassifyList")])) class="active" @endif>
    <a href="{{route("Admin.Home.environmentalList")}}" style="overflow:hidden;"><i class="icon tab-nav-2"></i>
        @if(count($zhClassify) > 0)
            @foreach($zhClassify as $val5)
                @if($val5->type == 'environmental_section')
                    {{$val5->name}}
                    @break;
                @endif
            @endforeach
        @else
            环保知识
        @endif
    </a>
</li>
<li @if(in_array(Request::url() , [route('Admin.Home.enEnvironmentalList'),route('Admin.Home.enEnvironmentalSet'),route("Admin.Home.enEnvironmentalClassifyList")])) class="active" @endif>
    <a href="{{route("Admin.Home.enEnvironmentalList")}}" style="overflow:hidden;"><i class="icon tab-nav-2"></i>
        @if(count($enClassify) > 0)
            @foreach($enClassify as $val6)
                @if($val6->type == 'environmental_section')
                    {{$val6->name}}
                    @break;
                @endif
            @endforeach
        @else
            英文-环保知识
        @endif
    </a>
</li>
</ul>

